home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000057_icon-group-sender _Wed Feb 28 03:07:55 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Wed, 28 Feb 1996 10:39:15 MST
  2. To: icon-group@cs.arizona.edu
  3. Date: 28 Feb 1996 03:07:55 GMT
  4. From: "David A. Gamey" <dgameynn@reach.com>
  5. Message-Id: <4h0gub$pk4@nntp208.reach.com>
  6. Organization: Reach Networks
  7. Sender: icon-group-request@cs.arizona.edu
  8. References: <41dvur$hvb@horus.infinet.com>, <4gniib$dta@ns2.ryerson.ca>
  9. Subject: Re: Icon as an editing tool
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11. Status: O
  12.  
  13. aaab@acs.ryerson.ca (Al Aab - CNED/W94) wrote:
  14. >Bruce S. Tobin (btobin@infinet.com) wrote:
  15. >:  I'm looking for a better way to automate (or semi-automate) some heavy
  16. >: C++ editing I'm going to have to do soon, making lots of similar changes to
  17. >: lots of different files.  
  18.  
  19. About two years ago, I worked on a project to rewrite about 3/4M lines of 
  20. code into C using automated translation software.  Because of many 
  21. fundamental semantic differences between the two languages the translator 
  22. made many unavoidable mistakes.  
  23.  
  24. I used Icon to to pre-process the source language and post-process the 
  25. output of the translator among many other tasks.  The code applied over 
  26. 60 "rules".  I ended up writing about 3000 lines of Icon including 
  27. whitespace and comments.  To do the same in C/C++ would probably have 
  28. required 12000 to 17000 lines of code.
  29.  
  30. Hope this helps.
  31.  
  32.